package com.test.springcloudalibaba;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.context.annotation.Configuration;

/**
 * @Name: Config
 * =======================
 * @Description: 配置测试
 * =======================
 * @Author: Jovi
 * =======================
 * @Date: Created in 2022-05-18
 * =======================
 * @Version: 0.0.1-SNAPSHOT
 */
@Configuration
@Data
@RefreshScope
public class Config {

    @Value("${jovi.name}")
    private String name;

}
